package org.mybatis3.test3;

public class StudentProxy implements IStudent {

    private Student student;

    StudentProxy(Student stduent){
        this.student=stduent;

    }


    @Override
    public void writeHomework(String object) {
        System.out.println("预习"+object);
        student.writeHomework(object);
        System.out.println("复习"+object);
    }
}
